    <include file="Common:header"/>
    <title></title>
	<css file="__PUBLIC__/Admin/css/category.css" />
    <js file="__PUBLIC__/js/jquery-1.8.2.min.js" />
    <script type="text/javascript">
        var ACTION = "__URL__";
    </script>
    <js file="__PUBLIC__/Admin/js/category.js" />
</head>
<body>

		<h2>
           <a>所在位置：商品管理>品牌列表</a>
        </h2>
        <br/>
       <table class="table1">
        <thead>
            <tr style="background:#72A9D3">
                <th width="20" align="center">ID</th>
                <th>商品分类名称</th>
                <th  width="400">操作</th>
            </tr>
        </thead>
        <tbody>
            <foreach name='category' item='n'>
            <tr class="catgorylist">
                <td align="center">{$n.id}</td>
                <td>{$n.html}{$n.name}</td>
                <td>
                    <a href="{:U('addCategory',array('pid'=>$n['id']))}">添加子分类</a> |
                    <a href="{:U('editCategory',array('cid'=>$n['id']))}">编辑</a> |
                    <a href="javascript:void(0)" class="delcategory" cid="{$n.id}">删除该分类</a>
                </td>
            </tr>
            </foreach>
            <tr>
                <td colspan="2"></td>
                <td>
                    <a href="{:U('addCategory')}"><font color="red" size="3">点击添加商品分类！</font></a>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="center">{$page}</td>
            </tr>
        </tbody>
    </table>
</body>
</html>